﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Domain.Entities
{
    /// <summary>
    /// 产品类型实体
    /// </summary>
   public  class ProductType: Entity
    {
        /// <summary>
        /// 产品名
        /// </summary>
        public string ProductType_name { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductType_No { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string ProductType_txt { get; set; }
        
        /// <summary>
        /// 发布人ID
        /// </summary>
        public int User_Id { get; set; }

        /// <summary>
        /// 创建时间(当前时间)
        /// </summary>
        public DateTime Createtime { get; set; } = DateTime.Now;

        /// <summary>
        /// (默认否:false) 是否禁用(管理员设置)
        /// </summary>
        public int Disable { get; set; }

        /// <summary>
        ///  可空  禁用原因
        /// </summary>
        public string Disabledesc { get; set; }


        /// <summary>
        /// 产品
        /// </summary>
        //public List<Product> Products { get; set; }
    }
}
